<%@ page language="java" contentType="text/html; charset=UTF-8"
pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>
<!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width,height=device-height,initial-scale=1.0,maximum-scale=1.0,user-scalable=no">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="default">
    <meta name="format-detection" content="telphone=no, email=no">
    <link rel="stylesheet" href="css/common.css"/>
    <script src="js/resize.js"></script>
    <link rel="stylesheet" href="css/center_login.css"/>
    <script src="js/jquery-3.1.0.min.js"></script>
    <title>银行卡</title>
</head>
<body>
<div class="layout">
    <div class="caad_main">
        <ul>
            <li class="border_B">
                <span>卡号</span>
                <input type="number" placeholder="请输入卡号"/>
            </li>
            <li class="border_B">
                <span>持卡人</span>
                <input type="text" placeholder="请输入持卡人姓名"/>
            </li>
            <li class="casca">
                <span>所在银行</span>
                <input type="text" placeholder="请选择银行类型"/>
                <img src="images/center_14.png" alt=""/>
                <select name="bank" id="bankType">
                    <option value="中国农业银行">中国农业银行</option>
                    <option value="中国工商银行">中国工商银行</option>
                    <option value="中国建设银行">中国建设银行</option>
                </select>
            </li>
        </ul>
        <p>仅限绑定一张卡,以便提现还款, <br/>请使用最常用卡片</p>
    </div>
    <div class="camaBtn">
        <a href="#">完成</a>
    </div>
</div>
<script>
    $("select").on("change",function(){
        $(this).siblings("input").val($(this).val());
    })
</script>
</body>
</html>